<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>系统管理员 HDSysCms</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="<?php echo getcdnurlhost() ?>/admin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="<?php echo getcdnurlhost() ?>/admin/style/admin.css" media="all">
</head>
<body data="HDSYSCMS 2021本系统受国家版权局保护请勿破解或者二次开发传播">
<div class="layui-fluid">
<div class="layui-row layui-col-space15">
<div class="layui-col-md12">
<div class="layui-card">
<div class="layui-tab layui-tab-brief" lay-filter="component-tabs-hash">
<ul class="layui-tab-title">
<li class="layui-this" lay-id="11">网站信息</li>
<li class=" en-hide" lay-id="22">英文信息</li>
<li lay-id="44">首页设置</li>
<li lay-id="55">在线客服</li>
<li lay-id="66">个性设置</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form class="layui-form" action="">
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="name" value="<?php echo bs_lib::get_configs_value('setup', 'name');  ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.name}','plug_Get_Configs_Value(\'setup\',\'name\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">首页标题</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="seotitle" value="<?php echo bs_lib::get_configs_value('setup', 'seotitle') ?>" placeholder="seo首页标题" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.seotitle}','plug_Get_Configs_Value(\'setup\',\'seotitle\')')" class="code-show layui-icon layui-icon-tips"></i>首页搜索显示标题</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">关键词</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="seokeywords" value="<?php echo bs_lib::get_configs_value('setup', 'seokeywords') ?>" placeholder="关键词" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.seokeywords}','plug_Get_Configs_Value(\'setup\',\'seokeywords\')')" class="code-show layui-icon layui-icon-tips"></i>keywords关键词</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">描述信息</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="seodescription" value="<?php echo bs_lib::get_configs_value('setup', 'seodescription') ?>" placeholder="描述信息" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.seodescription}','plug_Get_Configs_Value(\'setup\',\'seodescription\')')" class="code-show layui-icon layui-icon-tips"></i>description描述信息</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点LOGO</label>
<div class="layui-input-inline">
<img id="setuplogo-img" lay-src="../<?php echo bs_lib::get_configs_value('setup', 'logo') ?>" class="logos" />
<input type="hidden" name="logo" id="logo" value="<?php echo bs_lib::get_configs_value('setup', 'logo') ?>" placeholder="" class="layui-input">
</div>
<div style="line-height: 75px;margin-left: 20px;" class="layui-form-mid layui-word-aux">
<button type="button" class="layui-btn setuplogo" id="setuplogo">选择LOGO图片200*65</button>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.logo}','plug_Get_Configs_Value(\'setup\',\'logo\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点域名</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="domain" value="<?php echo bs_lib::get_configs_value('setup', 'domain') ?>" placeholder="站点域名" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.domain}','plug_Get_Configs_Value(\'setup\',\'domain\')')" class="code-show layui-icon layui-icon-tips"></i>如:https://www.baidu.com/ 可不填</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系手机</label>
<div class="layui-input-inline">
<input type="text" name="mobile" value="<?php echo bs_lib::get_configs_value('setup', 'mobile') ?>" placeholder="联系手机" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.mobile}','plug_Get_Configs_Value(\'setup\',\'mobile\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司电话</label>
<div class="layui-input-inline">
<input type="text" name="telephone" value="<?php echo bs_lib::get_configs_value('setup', 'telephone') ?>" placeholder="公司电话" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.telephone}','plug_Get_Configs_Value(\'setup\',\'telephone\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司传真</label>
<div class="layui-input-inline">
<input type="text" name="fax" value="<?php echo bs_lib::get_configs_value('setup', 'fax') ?>" placeholder="公司传真" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.fax}','plug_Get_Configs_Value(\'setup\',\'fax\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系邮箱</label>
<div class="layui-input-inline">
<input type="text" name="maill" value="<?php echo bs_lib::get_configs_value('setup', 'maill') ?>" placeholder="联系邮箱" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.maill}','plug_Get_Configs_Value(\'setup\',\'maill\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系人姓名</label>
<div class="layui-input-inline">
<input type="text" name="fullname" value="<?php echo bs_lib::get_configs_value('setup', 'fullname') ?>" placeholder="联系人姓名" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.fullname}','plug_Get_Configs_Value(\'setup\',\'fullname\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系地址</label>
<div class="layui-input-inline">
<input type="text" name="address" value="<?php echo bs_lib::get_configs_value('setup', 'address') ?>" placeholder="联系地址" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.address}','plug_Get_Configs_Value(\'setup\',\'address\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">ICP备案号</label>
<div class="layui-input-inline">
<input type="text" name="icp" value="<?php echo bs_lib::get_configs_value('setup', 'icp') ?>" placeholder="ICP" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.icp}','plug_Get_Configs_Value(\'setup\',\'icp\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公安备案号</label>
<div class="layui-input-inline">
<input type="text" name="gongan" value="<?php echo bs_lib::get_configs_value('setup', 'gongan') ?>" placeholder="公安备案号" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.gongan}','plug_Get_Configs_Value(\'setup\',\'gongan\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">底部版权</label>
<div  style="width: 400px;height: 90px;" class="layui-input-inline">
<textarea style="width: 400px;height: 90px;" name="copyright" placeholder="底部版权" class="layui-input"><?php echo bs_lib::get_configs_value('setup', 'copyright') ?></textarea>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.copyright}','plug_Get_Configs_Value(\'setup\',\'copyright\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">统计代码</label>
<div style="width: 400px;height: 90px;" class="layui-input-inline">
<textarea style="width: 400px;height: 90px;" name="statistics" placeholder="统计代码" class="layui-input"><?php echo bs_lib::get_configs_value('setup', 'statistics') ?></textarea>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.statistics}','plug_Get_Configs_Value(\'setup\',\'statistics\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">HEAD代码</label>
<div style="width: 400px;height: 90px;" class="layui-input-inline">
<textarea style="width: 400px;height: 90px;" name="head" placeholder="head头引入文件,一般用站点认证" class="layui-input"><?php echo bs_lib::get_configs_value('setup', 'head') ?></textarea>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.head}','plug_Get_Configs_Value(\'setup\',\'head\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<input type="hidden" name="set_name" value="setup" class="layui-input">
<div class="layui-form-item">
<label  class="layui-form-label">错误输出调试</label>
<div class="layui-input-block">
<input type="radio" name="dbug" value="0" title="上线模式" <?php echo bs_lib::get_configs_value('setup', 'dbug')==0 ? "checked" : ""; ?>>
<input type="radio" name="dbug" value="1" title="调试模式" <?php echo bs_lib::get_configs_value('setup', 'dbug')==1 ? "checked" : ""; ?>>
<input type="radio" name="dbug" value="2" title="开发模式(NOTICE显示)" <?php echo bs_lib::get_configs_value('setup', 'dbug')==2 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.setup.dbug}','plug_Get_Configs_Value(\'setup\',\'dbug\')')" class="code-show layui-icon layui-icon-tips"></i>调试模式输出调试错误路径，上线模式隐藏</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">保存配置</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form class="layui-form" action="">
<div class="layui-form-item">
<label class="layui-form-label">公司名称(英)</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="name" value="<?php echo bs_lib::get_configs_value('esetup', 'name') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.name}','plug_Get_Configs_Value(\'esetup\',\'name\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">首页标题(英)</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="seotitle" value="<?php echo bs_lib::get_configs_value('esetup', 'seotitle') ?>" placeholder="seo首页标题" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.seotitle}','plug_Get_Configs_Value(\'esetup\',\'seotitle\')')" class="code-show layui-icon layui-icon-tips"></i>首页搜索显示标题</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">关键词(英)</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="seokeywords" value="<?php echo bs_lib::get_configs_value('esetup', 'seokeywords') ?>" placeholder="关键词" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.seokeywords}','plug_Get_Configs_Value(\'esetup\',\'seokeywords\')')" class="code-show layui-icon layui-icon-tips"></i>keywords关键词</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">描述信息(英)</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="seodescription" value="<?php echo bs_lib::get_configs_value('esetup', 'seodescription') ?>" placeholder="描述信息" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.seodescription}','plug_Get_Configs_Value(\'esetup\',\'seodescription\')')" class="code-show layui-icon layui-icon-tips"></i>description描述信息</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">LOGO(英)</label>
<div class="layui-input-inline">
<img id="setuplogo-img-2" lay-src="../<?php echo bs_lib::get_configs_value('esetup', 'logo') ?>" class="logos" />
<input type="hidden" name="logo" id="elogo" value="<?php echo bs_lib::get_configs_value('esetup', 'logo') ?>" placeholder="" class="layui-input">
</div>
<div style="line-height: 75px;margin-left: 20px;" class="layui-form-mid layui-word-aux">
<button type="button" class="layui-btn setuplogo-2" id="setuplogo-2">选择LOGO图片200*65</button>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.logo}','plug_Get_Configs_Value(\'esetup\',\'logo\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系手机(英)</label>
<div class="layui-input-inline">
<input type="text" name="mobile" value="<?php echo bs_lib::get_configs_value('esetup', 'mobile') ?>" placeholder="联系手机" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.mobile}','plug_Get_Configs_Value(\'esetup\',\'mobile\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司电话(英)</label>
<div class="layui-input-inline">
<input type="text" name="telephone" value="<?php echo bs_lib::get_configs_value('esetup', 'telephone') ?>" placeholder="公司电话" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.telephone}','plug_Get_Configs_Value(\'esetup\',\'telephone\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系邮箱(英)</label>
<div class="layui-input-inline">
<input type="text" name="maill" value="<?php echo bs_lib::get_configs_value('esetup', 'maill') ?>" placeholder="联系邮箱" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.maill}','plug_Get_Configs_Value(\'esetup\',\'maill\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系人(英)</label>
<div class="layui-input-inline">
<input type="text" name="fullname" value="<?php echo bs_lib::get_configs_value('esetup', 'fullname') ?>" placeholder="联系人姓名" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.fullname}','plug_Get_Configs_Value(\'esetup\',\'fullname\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系地址(英)</label>
<div class="layui-input-inline">
<input type="text" name="address" value="<?php echo bs_lib::get_configs_value('esetup', 'address') ?>" placeholder="联系地址" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.address}','plug_Get_Configs_Value(\'esetup\',\'address\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">底部版权(英)</label>
<div  style="width: 400px;height: 90px;"  class="layui-input-inline">
<textarea style="width: 400px;height: 90px;" name="copyright" value="" placeholder="底部版权" class="layui-input"><?php echo bs_lib::get_configs_value('esetup', 'copyright') ?></textarea>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.esetup.copyright}','plug_Get_Configs_Value(\'esetup\',\'copyright\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<input type="hidden" name="set_name" value="esetup" class="layui-input">
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">保存英文配置</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form class="layui-form" action="">
<div style="display: flex;justify-content: flex-start;" class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">默认语言</label>
<div>
<input type="radio" name="default_language" value="0" title="中文" <?php echo bs_lib::get_configs_value('web', 'default_language')==0 ? "checked" : ""; ?>>
<input type="radio" name="default_language" value="1" title="英文" <?php echo bs_lib::get_configs_value('web', 'default_language')==1 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.default_language}','plug_Get_Configs_Value(\'web\',\'default_language\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div style="display: flex;justify-content: flex-start;"  class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">中英切换按钮</label>
<div>
<input type="radio" name="language" value="0" title="隐藏" <?php echo bs_lib::get_configs_value('web', 'language')==0 ? "checked" : ""; ?>>
<input type="radio" name="language" value="1" title="显示" <?php echo bs_lib::get_configs_value('web', 'language')==1 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.language}','plug_Get_Configs_Value(\'web\',\'language\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">首页产品数量</label>
<div class="layui-input-inline" style="width: 100px;">
<input type="text" name="product" value="<?php echo bs_lib::get_configs_value('web', 'product') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.product}','plug_Get_Configs_Value(\'web\',\'product\')')" class="code-show layui-icon layui-icon-tips"></i>个</div>
</div>
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">首页新闻数量</label>
<div class="layui-input-inline" style="width: 100px;">
<input type="text" name="news" value="<?php echo bs_lib::get_configs_value('web', 'news') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.news}','plug_Get_Configs_Value(\'web\',\'news\')')" class="code-show layui-icon layui-icon-tips"></i>条</div>
</div>
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">产品栏目数量</label>
<div class="layui-input-inline" style="width: 100px;">
<input type="text" name="list_product" value="<?php echo bs_lib::get_configs_value('web', 'list_product') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.list_product}','plug_Get_Configs_Value(\'web\',\'list_product\')')" class="code-show layui-icon layui-icon-tips"></i>个/页</div>
</div>
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">新闻栏目数量</label>
<div class="layui-input-inline" style="width: 100px;">
<input type="text" name="list_news" value="<?php echo bs_lib::get_configs_value('web', 'list_news') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.list_news}','plug_Get_Configs_Value(\'web\',\'list_news\')')" class="code-show layui-icon layui-icon-tips"></i>条/页</div>
</div>
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">图片栏目数量</label>
<div class="layui-input-inline" style="width: 100px;">
<input type="text" name="list_picture" value="<?php echo bs_lib::get_configs_value('web', 'list_picture') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.list_picture}','plug_Get_Configs_Value(\'web\',\'list_picture\')')" class="code-show layui-icon layui-icon-tips"></i>条/页</div>
</div>
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">下载栏目数量</label>
<div class="layui-input-inline" style="width: 100px;">
<input type="text" name="list_down" value="<?php echo bs_lib::get_configs_value('web', 'list_down') ?>" placeholder="公司名称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.web.list_down}','plug_Get_Configs_Value(\'web\',\'list_down\')')" class="code-show layui-icon layui-icon-tips"></i>条/页</div>
</div>
<input type="hidden" name="set_name" value="web" class="layui-input">
<div class="layui-form-item">
<label style="width: 100px;" class="layui-form-label"></label>
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">保存配置</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form class="layui-form" action="">
<div  style="display: flex;justify-content: flex-start;"  class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">是否开启客服</label>
<div class="layui-input-block1">
<input type="radio" name="switch" value="0" title="关闭" <?php echo bs_lib::get_configs_value('kefu', 'switch')==0 ? "checked" : ""; ?>>
<input type="radio" name="switch" value="1" title="开启" <?php echo bs_lib::get_configs_value('kefu', 'switch')==1 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.switch}','plug_Get_Configs_Value(\'kefu\',\'switch\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">QQ</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="qq" value="<?php echo bs_lib::get_configs_value('kefu', 'qq') ?>" placeholder="客服qq号码" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.qq}','plug_Get_Configs_Value(\'kefu\',\'qq\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">QQ显示昵称</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="qqname" value="<?php echo bs_lib::get_configs_value('kefu', 'qqname') ?>" placeholder="qq客服昵称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.qqname}','plug_Get_Configs_Value(\'kefu\',\'qqname\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">MSN</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="msn" value="<?php echo bs_lib::get_configs_value('kefu', 'msn') ?>" placeholder="客服MSN号码" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.msn}','plug_Get_Configs_Value(\'kefu\',\'msn\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">MSN昵称</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="msnname" value="<?php echo bs_lib::get_configs_value('kefu', 'msnname') ?>" placeholder="MSN客服昵称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.msnname}','plug_Get_Configs_Value(\'kefu\',\'msnname\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SKYPE</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="skype" value="<?php echo bs_lib::get_configs_value('kefu', 'skype') ?>" placeholder="SKYPE号码" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.skype}','plug_Get_Configs_Value(\'kefu\',\'skype\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SKYPE昵称</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="skypename" value="<?php echo bs_lib::get_configs_value('kefu', 'skypename') ?>" placeholder="SKYPE昵称" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.skypename}','plug_Get_Configs_Value(\'kefu\',\'skypename\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">千牛</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="qianniu" value="<?php echo bs_lib::get_configs_value('kefu', 'qianniu') ?>" placeholder="千牛" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.qianniu}','plug_Get_Configs_Value(\'kefu\',\'qianniu\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">千牛国际</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="eqianniu" value="<?php echo bs_lib::get_configs_value('kefu', 'eqianniu') ?>" placeholder="千牛国际" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.eqianniu}','plug_Get_Configs_Value(\'kefu\',\'eqianniu\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">邮箱号</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="mail" value="<?php echo bs_lib::get_configs_value('kefu', 'mail') ?>" placeholder="联系客服邮箱" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.mail}','plug_Get_Configs_Value(\'kefu\',\'mail\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">微信号</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="wx" value="<?php echo bs_lib::get_configs_value('kefu', 'wx') ?>" placeholder="联系微信" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.wx}','plug_Get_Configs_Value(\'kefu\',\'wx\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电话</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="phone" value="<?php echo bs_lib::get_configs_value('kefu', 'phone') ?>" placeholder="客服手机/电话" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.phone}','plug_Get_Configs_Value(\'kefu\',\'phone\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">微信二维码</label>
<div class="layui-input-inline" style="width: 150px;">
<img id="kefu-img-wx-img" style="height: 150px;width: 150px;" lay-src="../<?php echo bs_lib::get_configs_value('kefu', 'kefu_img_wx') ?>" class="logos" />
<input type="hidden" name="kefu_img_wx" id="kefu_img_wx" value="<?php echo bs_lib::get_configs_value('kefu', 'kefu_img_wx') ?>" placeholder="" class="layui-input">
</div>
<div style="line-height: 75px;margin-left: 20px;" class="layui-form-mid layui-word-aux">
<button type="button" class="layui-btn kefu-img-wx" id="kefu-img-wx-bin">选择微信二维码</button>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.kefu.kefu_img_wx}','plug_Get_Configs_Value(\'kefu\',\'kefu_img_wx\')')" class="code-show layui-icon layui-icon-tips"></i></div>
</div>
<input type="hidden" name="set_name" value="kefu" class="layui-input">
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">保存配置</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form class="layui-form" action="">
<div style="display: flex;justify-content: flex-start;"  class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">默认编辑器</label>
<div class="layui-input-block1">
<input type="radio" name="die" value="0" title="传统word编辑器" <?php echo bs_lib::get_configs_value('personality', 'die')==0 ? "checked" : ""; ?>>
<input type="radio" name="die" value="1" title="Markdown语法编辑器" <?php echo bs_lib::get_configs_value('personality', 'die')==1 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.personality.die}','plug_Get_Configs_Value(\'personality\',\'die\')')" class="code-show layui-icon layui-icon-tips"></i>Markdown需要学习下语法才好用,合适写文章,语法简单不会多余代码</div>
</div>
<div style="display: flex;justify-content: flex-start;"  class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">模版缓存</label>
<div class="layui-input-block1">
<input type="radio" name="cache" value="0" title="开启缓存" <?php echo bs_lib::get_configs_value('personality', 'cache')==0 ? "checked" : ""; ?>>
<input type="radio" name="cache" value="1" title="关闭缓存" <?php echo bs_lib::get_configs_value('personality', 'cache')==1 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.personality.cache}','plug_Get_Configs_Value(\'personality\',\'cache\')')" class="code-show layui-icon layui-icon-tips"></i>设计模版时候可关闭</div>
</div>
<div style="display: flex;justify-content: flex-start;"  class="layui-form-item">
<label style="width: 100px;" class="layui-form-label">英文表单</label>
<div class="layui-input-block1">
<input type="radio" name="en" value="0" title="隐藏英文表单" <?php echo bs_lib::get_configs_value('personality', 'en')==0 ? "checked" : ""; ?>>
<input type="radio" name="en" value="1" title="显示英文表单" <?php echo bs_lib::get_configs_value('personality', 'en')==1 ? "checked" : ""; ?>>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.personality.en}','plug_Get_Configs_Value(\'esetup\',\'en\')')" class="code-show layui-icon layui-icon-tips"></i>这个设置网站只中文把英文参数隐藏减少输入信息</div>
</div>
<input type="hidden" name="set_name" value="personality" class="layui-input">
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">保存配置</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form class="layui-form" action="">
<div class="layui-form-item">
<label class="layui-form-label">默认前台模板</label>
<div class="layui-input-inline">
<select name="current" id="current" lay-verify="">
<?php
$path=HDSYS_DIR_SYS . 'templates';
$temp_array=open_list_dir_t($path);
foreach ($temp_array as $param_value) {
if (is_dir($path . '/' . $param_value)) {
echo "<option value=\"$param_value\">$param_value</option>";
}
}
?>
</select>
</div>
<div class="layui-form-mid layui-word-aux"><i onclick="show_code('{$config.template.current}','plug_Get_Configs_Value(\'template\',\'current\')')" class="code-show layui-icon layui-icon-tips"></i>如果模板不存在着选择系统默认模板default</div>
</div>
<input type="hidden" name="set_name" value="template" class="layui-input">
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">保存配置</button>
</div>
</div>
</form>
</div>
</div>
</div>
<style>.logos {width: 200px;height: 65px;border: #EEEEEE;border-style: solid;border-width: 1px;}</style>
</div>
</div>
</div>
</div>
<?php adminechohtnl(); ?>
<div id="foot">Copyright © 2019-2023 <a href="https://www.HDSysCms.Com?pro" target="_blank">HDSysCms <?php echo HDSYS_VERSION; ?></a> <br>
All Rights Reserved </div>
<script src="<?php echo getcdnurlhost() ?>/admin/layui/layui.js"></script>
<script>layui.config({base: '<?php echo getcdnurlhost() ?>/admin/'}).use(['form', 'layer', 'element', 'flow', 'upload'], function() {var admin=layui.admin,$=layui.$,form=layui.form,element=layui.element,upload=layui.upload,router=layui.router();element.render();var flow=layui.flow;flow.lazyimg();var uploadInst=upload.render({elem: '#setuplogo',url: 'index.php?m=manage&c=UpFile&a=ups',before: function(obj) {layer.load(0);},done: function(res) {layer.closeAll();if (res.code==-1) {return layer.msg(res.msg);}console.log(res);$('#setuplogo-img').attr('src', '../' + res.url);$('#logo').val(res.url);},error: function() {layer.closeAll();layer.alert('上传失败')}});var uploadInst=upload.render({elem: '#setuplogo-2',url: 'index.php?m=manage&c=UpFile&a=ups',before: function(obj) {layer.load(0);},done: function(res) {layer.closeAll();if (res.code==-1) {return layer.msg(res.msg);}console.log(res);$('#setuplogo-img-2').attr('src', '../' + res.url);$('#elogo').val(res.url);},error: function() {layer.closeAll();layer.alert('上传失败')}});var uploadInst=upload.render({elem: '#kefu-img-wx-bin',url: 'index.php?m=manage&c=UpFile&a=ups',before: function(obj) {layer.load(0);},done: function(res) {layer.closeAll();if (res.code==-1) {return layer.msg(res.msg);}console.log(res);$('#kefu-img-wx-img').attr('src', '../' + res.url);$("#kefu_img_wx").val(res.url);},error: function() {layer.closeAll();layer.alert('上传失败')}});var layid=location.hash.replace(/^#layid=/, '');layid && element.tabChange('component-tabs-hash', layid);element.on('tab(component-tabs-hash)', function(elem) {location.hash='#layid=' + $(this).attr('lay-id');});form.on('submit(setup)', function(data) {data=data.field;$.ajax({type: "post",url: 'index.php?m=manage&c=Hdsys&a=setup_ajax',data: data,dataType: "json",success: function(ret) {layer.msg(ret.msg);if (ret.code==1) {}}});return false;});});select_set_text('current', '<?php echo bs_lib::get_configs_value('template', 'current') ?>');</script>
</body>
</html>